package com.yunxi.order.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.order.pojo.OrderReceiptReqVO;
import com.yunxi.order.pojo.OrderReceiptVO;
import com.yunxi.hubToBiz.pojo.PushOrderReceiptReqVO;
import com.yunxi.hubToBiz.pojo.PushOrderReceiptRespVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 发票表 服务类
 * </p>
 *
 * @author 
 * @since 2019-05-29
 */
public interface OrderReceiptDubboService {

    OrderReceiptVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(OrderReceiptVO orderReceiptVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<OrderReceiptVO> findPageByVO(OrderReceiptVO orderReceiptVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<OrderReceiptVO> orderReceiptVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(OrderReceiptVO orderReceiptVO);

    boolean signTo(OrderReceiptReqVO vo);
}
